package com.example.bishe.service.impl;

import com.example.bishe.entity.Bzks_bj;
import com.example.bishe.mapper.Bzks_bjMapper;
import com.example.bishe.service.Bzks_bjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author yws
 * @Date 2022/3/20 20:39
 */
@Service
public class Bzks_bjServiceImpl implements Bzks_bjService {
    @Autowired
    Bzks_bjMapper bzks_bjMapper;

    @Override
    public Bzks_bj[] selectAll() {
        return bzks_bjMapper.selectAll();
    }

    @Override
    public void update_bj(Bzks_bj bzks_bj) {
        bzks_bjMapper.update_bj(bzks_bj);
    }

    @Override
    public void insert_bj(Bzks_bj bzks_bj) {
        bzks_bjMapper.insert_bj(bzks_bj);
    }

    @Override
    public void delete_bj(Bzks_bj bzks_bj) {
        bzks_bjMapper.delete_bj(bzks_bj);
    }

    @Override
    public Bzks_bj[] select_bj(Bzks_bj bzks_bj) {
        return bzks_bjMapper.select_bj(bzks_bj);
    }
}
